package com.comtop.springboot.templet.modules.sys.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.comtop.springboot.templet.modules.sys.entity.SysLogEntity;
import com.comtop.springboot.templet.modules.sys.mapper.SysLogMapper;
import com.comtop.springboot.templet.modules.sys.service.ISysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Map;



@Service("sysLogService")
public class SysLogServiceImpl extends ServiceImpl<SysLogMapper,SysLogEntity> implements ISysLogService {
	/**日志mapper**/
	@Autowired
	private SysLogMapper sysLogMapper;

	/**
	 * 分页查询日志信息
	 * @param page
	 * @param map
	 * @return
	 */
	@Override
	public Page<SysLogEntity> selectSysLogList(Page<SysLogEntity> page, Map<String, Object> map){
		return page.setRecords(sysLogMapper.selectSysLogList(page,map));
	}
	


	

	
}
